package yhp.service.impl;

import yhp.bean.Student;
import yhp.dao.impl.StudentDaoImpl;
import yhp.service.StudentService;

import java.sql.SQLException;
import java.util.List;

public class StudentServiceImpl implements StudentService {
    StudentDaoImpl studentDao = new StudentDaoImpl();
    @Override
    public List<Student> lookall() throws SQLException {
        return studentDao.lookall();
    }
}
